package com.group9.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FruitInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FruitInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFruitIdIsNull() {
            addCriterion("fruit_id is null");
            return (Criteria) this;
        }

        public Criteria andFruitIdIsNotNull() {
            addCriterion("fruit_id is not null");
            return (Criteria) this;
        }

        public Criteria andFruitIdEqualTo(Integer value) {
            addCriterion("fruit_id =", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotEqualTo(Integer value) {
            addCriterion("fruit_id <>", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdGreaterThan(Integer value) {
            addCriterion("fruit_id >", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("fruit_id >=", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdLessThan(Integer value) {
            addCriterion("fruit_id <", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdLessThanOrEqualTo(Integer value) {
            addCriterion("fruit_id <=", value, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdIn(List<Integer> values) {
            addCriterion("fruit_id in", values, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotIn(List<Integer> values) {
            addCriterion("fruit_id not in", values, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdBetween(Integer value1, Integer value2) {
            addCriterion("fruit_id between", value1, value2, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitIdNotBetween(Integer value1, Integer value2) {
            addCriterion("fruit_id not between", value1, value2, "fruitId");
            return (Criteria) this;
        }

        public Criteria andFruitNameIsNull() {
            addCriterion("fruit_name is null");
            return (Criteria) this;
        }

        public Criteria andFruitNameIsNotNull() {
            addCriterion("fruit_name is not null");
            return (Criteria) this;
        }

        public Criteria andFruitNameEqualTo(String value) {
            addCriterion("fruit_name =", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotEqualTo(String value) {
            addCriterion("fruit_name <>", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameGreaterThan(String value) {
            addCriterion("fruit_name >", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameGreaterThanOrEqualTo(String value) {
            addCriterion("fruit_name >=", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLessThan(String value) {
            addCriterion("fruit_name <", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLessThanOrEqualTo(String value) {
            addCriterion("fruit_name <=", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameLike(String value) {
            addCriterion("fruit_name like", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotLike(String value) {
            addCriterion("fruit_name not like", value, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameIn(List<String> values) {
            addCriterion("fruit_name in", values, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotIn(List<String> values) {
            addCriterion("fruit_name not in", values, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameBetween(String value1, String value2) {
            addCriterion("fruit_name between", value1, value2, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitNameNotBetween(String value1, String value2) {
            addCriterion("fruit_name not between", value1, value2, "fruitName");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIsNull() {
            addCriterion("fruit_price is null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIsNotNull() {
            addCriterion("fruit_price is not null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceEqualTo(BigDecimal value) {
            addCriterion("fruit_price =", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotEqualTo(BigDecimal value) {
            addCriterion("fruit_price <>", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceGreaterThan(BigDecimal value) {
            addCriterion("fruit_price >", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price >=", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceLessThan(BigDecimal value) {
            addCriterion("fruit_price <", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price <=", value, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceIn(List<BigDecimal> values) {
            addCriterion("fruit_price in", values, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotIn(List<BigDecimal> values) {
            addCriterion("fruit_price not in", values, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price between", value1, value2, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price not between", value1, value2, "fruitPrice");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostIsNull() {
            addCriterion("fruit_activity_cost is null");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostIsNotNull() {
            addCriterion("fruit_activity_cost is not null");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostEqualTo(BigDecimal value) {
            addCriterion("fruit_activity_cost =", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostNotEqualTo(BigDecimal value) {
            addCriterion("fruit_activity_cost <>", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostGreaterThan(BigDecimal value) {
            addCriterion("fruit_activity_cost >", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_activity_cost >=", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostLessThan(BigDecimal value) {
            addCriterion("fruit_activity_cost <", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_activity_cost <=", value, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostIn(List<BigDecimal> values) {
            addCriterion("fruit_activity_cost in", values, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostNotIn(List<BigDecimal> values) {
            addCriterion("fruit_activity_cost not in", values, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_activity_cost between", value1, value2, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitActivityCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_activity_cost not between", value1, value2, "fruitActivityCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostIsNull() {
            addCriterion("fruit_price_cost is null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostIsNotNull() {
            addCriterion("fruit_price_cost is not null");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostEqualTo(BigDecimal value) {
            addCriterion("fruit_price_cost =", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostNotEqualTo(BigDecimal value) {
            addCriterion("fruit_price_cost <>", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostGreaterThan(BigDecimal value) {
            addCriterion("fruit_price_cost >", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price_cost >=", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostLessThan(BigDecimal value) {
            addCriterion("fruit_price_cost <", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fruit_price_cost <=", value, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostIn(List<BigDecimal> values) {
            addCriterion("fruit_price_cost in", values, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostNotIn(List<BigDecimal> values) {
            addCriterion("fruit_price_cost not in", values, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price_cost between", value1, value2, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitPriceCostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fruit_price_cost not between", value1, value2, "fruitPriceCost");
            return (Criteria) this;
        }

        public Criteria andFruitWeightIsNull() {
            addCriterion("fruit_weight is null");
            return (Criteria) this;
        }

        public Criteria andFruitWeightIsNotNull() {
            addCriterion("fruit_weight is not null");
            return (Criteria) this;
        }

        public Criteria andFruitWeightEqualTo(Float value) {
            addCriterion("fruit_weight =", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightNotEqualTo(Float value) {
            addCriterion("fruit_weight <>", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightGreaterThan(Float value) {
            addCriterion("fruit_weight >", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightGreaterThanOrEqualTo(Float value) {
            addCriterion("fruit_weight >=", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightLessThan(Float value) {
            addCriterion("fruit_weight <", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightLessThanOrEqualTo(Float value) {
            addCriterion("fruit_weight <=", value, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightIn(List<Float> values) {
            addCriterion("fruit_weight in", values, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightNotIn(List<Float> values) {
            addCriterion("fruit_weight not in", values, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightBetween(Float value1, Float value2) {
            addCriterion("fruit_weight between", value1, value2, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitWeightNotBetween(Float value1, Float value2) {
            addCriterion("fruit_weight not between", value1, value2, "fruitWeight");
            return (Criteria) this;
        }

        public Criteria andFruitDateIsNull() {
            addCriterion("fruit_date is null");
            return (Criteria) this;
        }

        public Criteria andFruitDateIsNotNull() {
            addCriterion("fruit_date is not null");
            return (Criteria) this;
        }

        public Criteria andFruitDateEqualTo(Date value) {
            addCriterion("fruit_date =", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateNotEqualTo(Date value) {
            addCriterion("fruit_date <>", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateGreaterThan(Date value) {
            addCriterion("fruit_date >", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateGreaterThanOrEqualTo(Date value) {
            addCriterion("fruit_date >=", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateLessThan(Date value) {
            addCriterion("fruit_date <", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateLessThanOrEqualTo(Date value) {
            addCriterion("fruit_date <=", value, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateIn(List<Date> values) {
            addCriterion("fruit_date in", values, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateNotIn(List<Date> values) {
            addCriterion("fruit_date not in", values, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateBetween(Date value1, Date value2) {
            addCriterion("fruit_date between", value1, value2, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andFruitDateNotBetween(Date value1, Date value2) {
            addCriterion("fruit_date not between", value1, value2, "fruitDate");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeIsNull() {
            addCriterion("sales_volume is null");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeIsNotNull() {
            addCriterion("sales_volume is not null");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeEqualTo(Integer value) {
            addCriterion("sales_volume =", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeNotEqualTo(Integer value) {
            addCriterion("sales_volume <>", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeGreaterThan(Integer value) {
            addCriterion("sales_volume >", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_volume >=", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeLessThan(Integer value) {
            addCriterion("sales_volume <", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeLessThanOrEqualTo(Integer value) {
            addCriterion("sales_volume <=", value, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeIn(List<Integer> values) {
            addCriterion("sales_volume in", values, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeNotIn(List<Integer> values) {
            addCriterion("sales_volume not in", values, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeBetween(Integer value1, Integer value2) {
            addCriterion("sales_volume between", value1, value2, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andSalesVolumeNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_volume not between", value1, value2, "salesVolume");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicIsNull() {
            addCriterion("fruit_major_pic is null");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicIsNotNull() {
            addCriterion("fruit_major_pic is not null");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicEqualTo(Integer value) {
            addCriterion("fruit_major_pic =", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicNotEqualTo(Integer value) {
            addCriterion("fruit_major_pic <>", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicGreaterThan(Integer value) {
            addCriterion("fruit_major_pic >", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicGreaterThanOrEqualTo(Integer value) {
            addCriterion("fruit_major_pic >=", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicLessThan(Integer value) {
            addCriterion("fruit_major_pic <", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicLessThanOrEqualTo(Integer value) {
            addCriterion("fruit_major_pic <=", value, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicIn(List<Integer> values) {
            addCriterion("fruit_major_pic in", values, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicNotIn(List<Integer> values) {
            addCriterion("fruit_major_pic not in", values, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicBetween(Integer value1, Integer value2) {
            addCriterion("fruit_major_pic between", value1, value2, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andFruitMajorPicNotBetween(Integer value1, Integer value2) {
            addCriterion("fruit_major_pic not between", value1, value2, "fruitMajorPic");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIsNull() {
            addCriterion("modified_time is null");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIsNotNull() {
            addCriterion("modified_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeEqualTo(Date value) {
            addCriterion("modified_time =", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotEqualTo(Date value) {
            addCriterion("modified_time <>", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeGreaterThan(Date value) {
            addCriterion("modified_time >", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modified_time >=", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeLessThan(Date value) {
            addCriterion("modified_time <", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeLessThanOrEqualTo(Date value) {
            addCriterion("modified_time <=", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIn(List<Date> values) {
            addCriterion("modified_time in", values, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotIn(List<Date> values) {
            addCriterion("modified_time not in", values, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeBetween(Date value1, Date value2) {
            addCriterion("modified_time between", value1, value2, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotBetween(Date value1, Date value2) {
            addCriterion("modified_time not between", value1, value2, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andFruitStatusIsNull() {
            addCriterion("fruit_status is null");
            return (Criteria) this;
        }

        public Criteria andFruitStatusIsNotNull() {
            addCriterion("fruit_status is not null");
            return (Criteria) this;
        }

        public Criteria andFruitStatusEqualTo(Byte value) {
            addCriterion("fruit_status =", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusNotEqualTo(Byte value) {
            addCriterion("fruit_status <>", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusGreaterThan(Byte value) {
            addCriterion("fruit_status >", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("fruit_status >=", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusLessThan(Byte value) {
            addCriterion("fruit_status <", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusLessThanOrEqualTo(Byte value) {
            addCriterion("fruit_status <=", value, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusIn(List<Byte> values) {
            addCriterion("fruit_status in", values, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusNotIn(List<Byte> values) {
            addCriterion("fruit_status not in", values, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusBetween(Byte value1, Byte value2) {
            addCriterion("fruit_status between", value1, value2, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andFruitStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("fruit_status not between", value1, value2, "fruitStatus");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}